from django import forms
from game.models import *
from django.forms.extras.widgets import * 

class AddUserForm(forms.Form):
    username    = forms.CharField(max_length=20, required=True)    
    password    = forms.CharField(widget=forms.PasswordInput(), required=True, max_length=10)

    
class UserProfileForm(forms.ModelForm):
    
    class Meta:
        model   = UserProfile
        exclude = ('user')    